<template>
  <div class="wrap">
    <div class="number-wrap">
      <div class="number-item">
        <img src="../../../assets/images/number-of-registrants.png" alt="">
        <div class="number-msg">
          <div class="key">注册人数</div>
          <div class="val">8000</div>
        </div>
      </div>
      <div class="number-item">
        <img src="../../../assets/images/number-of-rooms.png" alt="">
        <div class="number-msg">
          <div class="key">房间总数</div>
          <div class="val">2000</div>
        </div>
      </div>
    </div>
    <div class="event-title">详    情</div>
    <div class="progress-wrap">
      <div class="progress-wrap-item">
        <div class="title">
          <div class="key">已进入人员</div>
          <div class="val">6000</div>
        </div>
        <div class="progress-item">
          <el-progress :percentage="80" :stroke-width="16" :show-text="false" class="enter-progress"></el-progress>
        </div>
        <div class="count green">80.00%</div>
      </div>
      <div class="progress-wrap-item">
        <div class="title">
          <div class="key">有人房间数</div>
          <div class="val">1600</div>
        </div>
        <div class="progress-item">
          <el-progress :percentage="60" :stroke-width="16" :show-text="false" class="room-progress"></el-progress>
        </div>
        <div class="count purple">60.00%</div>
      </div>
      <div class="progress-wrap-item">
        <div class="title">
          <div class="key">已送电房间</div>
          <div class="val">1900</div>
        </div>
        <div class="progress-item">
          <el-progress :percentage="80" :stroke-width="16" :show-text="false" class="transmission-progress"></el-progress>
        </div>
        <div class="count blue">90.00%</div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'Room',
  data() {
    return {}
  },
  methods: {}
}
</script>
<style lang="scss" scoped>
.wrap {
  .number-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    display: flex;
    padding: 2.5rem 0.75rem;
    .number-item {
      display: flex;
      img {
        width: 5.125rem;
        height: 5.25rem;
        margin-right: 1.25rem;
      }
      .number-msg {
        font-family: Microsoft YaHei, Microsoft YaHei;
        .key {
          font-weight: 400;
          font-size: 0.875rem;
          color: #E5EAF3;
        }
        .val {
          margin-top: 0.75rem;
          font-weight: bold;
          font-size: 1.25rem;
          color: #73FCFD;
        }
      }
    }
  }
  .event-title {
    width: 25.625rem;
    height: 1.875rem;
    background-image: url("../../../assets/images/wireframe.png");
    background-size: 100% 100%;
    text-align: center;
    line-height: 1.875rem;
    color: #FFFFFF;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    font-size: 0.875rem;
    margin-bottom: 0;
  }
  .progress-wrap {
    .progress-wrap-item {
      width: 100%;
      margin-bottom: 2rem;
      font-family: Microsoft YaHei, Microsoft YaHei;
      .title {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.625rem;
        .key {
          font-weight: 400;
          font-size: 0.875rem;
          color: #CDCFD2;
        }
        .val {
          font-weight: bold;
          font-size: 1rem;
          color: #FFFFFF;
        }
      }
      
      .enter-progress {
        border: 1px solid #A0FCD7;
        border-radius: 6.25rem;
      }

      .room-progress {
        border: 1px solid #805BE3;
        border-radius: 6.25rem;
      }

      .transmission-progress {
        border: 1px solid #5CCBFA;
        border-radius: 6.25rem;
      }

      ::v-deep .enter-progress .el-progress-bar__inner {
        background-color: unset;
        background-image: linear-gradient( 90deg,  #2EB755 0%,#72B69F 100%,);
      }
      ::v-deep .room-progress .el-progress-bar__inner {
        background-color: unset;
        background-image: linear-gradient( 90deg,  #453785 0%,#805BE3 100%,);
      }
      ::v-deep .transmission-progress .el-progress-bar__inner {
        background-color: unset;
        background-image: linear-gradient( 90deg,  #327090 0%,#5CCBFA 100%,);
      }
      .count {
        margin-top: 0.875rem;
        font-weight: 400;
        font-size: 1rem;
      }
      .green {
        color: #499C55;
      }
      .purple {
        color: #805BE3;
      }
      .blue {
        color: #5CCBFA;
      }
    }
  }
}
</style>